home *** CD-ROM | disk | FTP | other *** search
/ 3D Games (Spidla) / 3dhry2.iso / InterBingo 1.0 / InterBingoSetup.exe / BingoInstaller.swf / scripts / DefineSprite_16 / frame_1 / DoAction.as
Encoding:
Text File  |  2002-07-25  |  898 b   |  50 lines

  1. function SetScreenWatch(sw)
  2. {
  3.    ScreenWatch = int(sw);
  4. }
  5. function HandleEnter()
  6. {
  7.    if(ScreenWatch == 5)
  8.    {
  9.    }
  10.    if(ScreenWatch == 4)
  11.    {
  12.       if(int(eval(_root.ResLevel + ".Register")._currentFrame) == 5)
  13.       {
  14.          _root.ButtonHit(eval(_root.ResLevel + ".Register"));
  15.       }
  16.    }
  17.    if(ScreenWatch == 3)
  18.    {
  19.    }
  20.    if(ScreenWatch == 2)
  21.    {
  22.       _root.ButtonHit(eval(_root.ResLevel + ".Select"));
  23.    }
  24.    if(ScreenWatch == 1)
  25.    {
  26.       if(int(eval(_root.ResLevel + ".Accept")._currentFrame) == 5)
  27.       {
  28.          _root.ButtonHit(eval(_root.ResLevel + ".Accept"));
  29.       }
  30.    }
  31.    if(ScreenWatch == 0)
  32.    {
  33.       _root.SplashScreenComplete();
  34.    }
  35. }
  36. function HandleEsc()
  37. {
  38.    fscommand("button","escape");
  39. }
  40. function HandleTab()
  41. {
  42.    Selection.setFocus("_level0.DummyText");
  43. }
  44. function HandleUp()
  45. {
  46. }
  47. function HandleDown()
  48. {
  49. }
  50.